package com.sz.ruichar.entity.model.constant;

public class Constant 
{
	public static final int YES = 1;
	
	public static final int NO = 0;
	// 与接口配置信息中的Token要一致(微信公众平台)
	public static final String WECHAT_TOKEN = "sdjflkjfdslfjkdfdlskfj3434";
	//获取code（获取openID第一步）
	public static final String WEHCAT_CODE_URL =  "https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect";
	//获取用户accessToken 和openId
	public static final String WECHAT_AUTH_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
	//公众好全局凭证
	public static final String WECHAT_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	public static final int initScore = 100;
}
